{include file="member.header.login.html"}
<script type="text/javascript">
$(function(){
  $('#password_form').validate({
        errorPlacement: function(error, element){
            $(element).next('.field_notice').hide();
            $(element).after(error);
        },
        success       : function(label){
            label.addClass('validate_right').text('OK!');
        },
        onkeyup : false,
        rules : {
            new_password : {
                required   : true,
                minlength  : 6,
                maxlength  : 20,
                checkPassword : true
            },
            confirm_password : {
                required   : true,
                equalTo    : '#new_password',
                checkPassword : true
            }
        },
        messages : {
            new_password  : {
                required   : '密码不能为空',
                minlength  : '密码长度应在6-20个字符之间'
            },
            confirm_password : {
                required   : '确认密码不能为空',
                equalTo    : '两次输入的密码不相符'
            }
        }
    });
    
    $('#new_password').keyup(function(){
        userValidate.chkPWPower(this.value);        
    })   
});

</script>
<!-- 内容 -->
<div class="content-warp">
  <div class="find-password">
    <div class="find-password-t t3"></div>
    <div class="find-password-c">
      <form action="" method="post" class="loginFrm" id="password_form">
        <table width="100%">
          <tr>
            <td width="150" align="right" valign="top">新登录密码：</td>
            <td><div class="valid-d">
                <input type="password" class="text width_normal b-radius" name="new_password" id="new_password" oncontextmenu="return false" oncopy="return false" oncut="return false" maxlength="20" />
                <p style="padding-top:10px;" class="level" id="level"><span class="low" id="low">弱</span><span class="middle" id="middle">中</span><span class="strong" id="strong">强</span><input type="hidden" name="password_level" id="password_level" value="1" /></p>
                
              </div></td>
          </tr>
          <tr>
            <td align="right">确认新登录密码：</td>
            <td class="f-cb"><div class="valid-d">
                <input type="password" class="text width_normal b-radius" name="confirm_password" oncontextmenu="return false" oncopy="return false" oncut="return false" maxlength="20" />
              </div></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td><input type="submit" name="submit" value="确认" class="subbtnhsbm" /><input type="hidden" value="{$id}" name="id">
                            <input type="hidden" value="{$activation}" name="activation"></td>
          </tr>
        </table>
      </form>
      <div id="warning"></div>
    </div>
  </div>
</div>
<!-- 页脚 -->
{include file="footer.html"} 